package com.qmhl.toolposition.activity

import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.provider.Settings
import com.qmhl.toolposition.base.BaseActivity
import com.qmhl.toolposition.databinding.ActivityPositionHelperBinding
import com.qmhl.toolposition.utils.WhiteListUtils

class PositionHelperActivity : BaseActivity() {

    lateinit var binding: ActivityPositionHelperBinding
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityPositionHelperBinding.inflate(layoutInflater)
        setContentView(binding.root)
    }


    override fun initListener() {
        super.initListener()
        binding.ivBack.setOnClickListener {
            finish()
        }

        binding.llWhiteList.setOnClickListener {
            WhiteListUtils.addWhiteList2(this)
        }

        binding.llOtherSetting.setOnClickListener {
            startActivity(Intent(this, PositionOtherSettingHelperActivity::class.java))
        }
    }


}